type net.byPref
6 uses
net (current package)
dnsclient.go#L210: type byPref []*MX
dnsclient.go#L212: func (s byPref) Len() int { return len(s) }
dnsclient.go#L213: func (s byPref) Less(i, j int) bool { return s[i].Pref < s[j].Pref }
dnsclient.go#L214: func (s byPref) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
dnsclient.go#L217: func (s byPref) sort() {
lookup.go#L797: byPref(mxs).sort()
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |